package org.edu.modules.personal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import org.jeecgframework.poi.excel.annotation.Excel;

@TableName("ve_base_personal_setting")
@ApiModel(value="ve_base_personal_setting对象", description="个人设置")
public class VeBasePersonalSetting
        implements Serializable
{
    @TableId(type=IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;
    @Excel(name="页面设置参数", width=15.0D)
    @ApiModelProperty("页面设置参数")
    private String settingParameters;
    @Excel(name="用户id", width=15.0D)
    @ApiModelProperty("用户id")
    private String userId;
    @Excel(name="创建时间", width=15.0D)
    @ApiModelProperty("创建时间")
    private Date createTime;
    @Excel(name="修改时间", width=15.0D)
    @ApiModelProperty("修改时间")
    private Date updateTime;
    @Excel(name="页面名称", width=15.0D)
    @ApiModelProperty("页面名称")
    private String pageName;
    @Excel(name="页面类型", width=15.0D)
    @ApiModelProperty("页面类型（0-启用，1-禁用）")
    private Integer pageStatus;
    @Excel(name="创建人id", width=15.0D)
    @ApiModelProperty("创建人id")
    private Integer createId;
    @Excel(name="修改人id", width=15.0D)
    @ApiModelProperty("修改人id")
    private Integer updateId;

    public VeBasePersonalSetting setUserId(String userId)
    {
        this.userId = userId;return this;
    }

    public VeBasePersonalSetting setSettingParameters(String settingParameters)
    {
        this.settingParameters = settingParameters;return this;
    }

    public VeBasePersonalSetting setId(Integer id)
    {
        this.id = id;return this;
    }

    public String toString()
    {
        return "VeBasePersonalSetting(id=" + getId() + ", settingParameters=" + getSettingParameters() + ", userId=" + getUserId() + ", createTime=" + getCreateTime() + ", updateTime=" + getUpdateTime() + ", pageName=" + getPageName() + ", pageStatus=" + getPageStatus() + ", createId=" + getCreateId() + ", updateId=" + getUpdateId() + ")";
    }

    public VeBasePersonalSetting setUpdateId(Integer updateId)
    {
        this.updateId = updateId;return this;
    }

    public VeBasePersonalSetting setCreateId(Integer createId)
    {
        this.createId = createId;return this;
    }

    public VeBasePersonalSetting setPageStatus(Integer pageStatus)
    {
        this.pageStatus = pageStatus;return this;
    }

    public VeBasePersonalSetting setPageName(String pageName)
    {
        this.pageName = pageName;return this;
    }

    public VeBasePersonalSetting setUpdateTime(Date updateTime)
    {
        this.updateTime = updateTime;return this;
    }

    public VeBasePersonalSetting setCreateTime(Date createTime)
    {
        this.createTime = createTime;return this;
    }

    public int hashCode()
    {
        int PRIME = 59;int result = 1;Object $id = getId();result = result * 59 + ($id == null ? 43 : $id.hashCode());Object $pageStatus = getPageStatus();result = result * 59 + ($pageStatus == null ? 43 : $pageStatus.hashCode());Object $createId = getCreateId();result = result * 59 + ($createId == null ? 43 : $createId.hashCode());Object $updateId = getUpdateId();result = result * 59 + ($updateId == null ? 43 : $updateId.hashCode());Object $settingParameters = getSettingParameters();result = result * 59 + ($settingParameters == null ? 43 : $settingParameters.hashCode());Object $userId = getUserId();result = result * 59 + ($userId == null ? 43 : $userId.hashCode());Object $createTime = getCreateTime();result = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());Object $updateTime = getUpdateTime();result = result * 59 + ($updateTime == null ? 43 : $updateTime.hashCode());Object $pageName = getPageName();result = result * 59 + ($pageName == null ? 43 : $pageName.hashCode());return result;
    }

    protected boolean canEqual(Object other)
    {
        return other instanceof VeBasePersonalSetting;
    }

    public boolean equals(Object o)
    {
        if (o == this) {
            return true;
        }
        if (!(o instanceof VeBasePersonalSetting)) {
            return false;
        }
        VeBasePersonalSetting other = (VeBasePersonalSetting)o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();Object other$id = other.getId();
        if (this$id == null ? other$id != null : !this$id.equals(other$id)) {
            return false;
        }
        Object this$pageStatus = getPageStatus();Object other$pageStatus = other.getPageStatus();
        if (this$pageStatus == null ? other$pageStatus != null : !this$pageStatus.equals(other$pageStatus)) {
            return false;
        }
        Object this$createId = getCreateId();Object other$createId = other.getCreateId();
        if (this$createId == null ? other$createId != null : !this$createId.equals(other$createId)) {
            return false;
        }
        Object this$updateId = getUpdateId();Object other$updateId = other.getUpdateId();
        if (this$updateId == null ? other$updateId != null : !this$updateId.equals(other$updateId)) {
            return false;
        }
        Object this$settingParameters = getSettingParameters();Object other$settingParameters = other.getSettingParameters();
        if (this$settingParameters == null ? other$settingParameters != null : !this$settingParameters.equals(other$settingParameters)) {
            return false;
        }
        Object this$userId = getUserId();Object other$userId = other.getUserId();
        if (this$userId == null ? other$userId != null : !this$userId.equals(other$userId)) {
            return false;
        }
        Object this$createTime = getCreateTime();Object other$createTime = other.getCreateTime();
        if (this$createTime == null ? other$createTime != null : !this$createTime.equals(other$createTime)) {
            return false;
        }
        Object this$updateTime = getUpdateTime();Object other$updateTime = other.getUpdateTime();
        if (this$updateTime == null ? other$updateTime != null : !this$updateTime.equals(other$updateTime)) {
            return false;
        }
        Object this$pageName = getPageName();Object other$pageName = other.getPageName();return this$pageName == null ? other$pageName == null : this$pageName.equals(other$pageName);
    }

    public Integer getId()
    {
        return this.id;
    }

    public String getSettingParameters()
    {
        return this.settingParameters;
    }

    public String getUserId()
    {
        return this.userId;
    }

    public Date getCreateTime()
    {
        return this.createTime;
    }

    public Date getUpdateTime()
    {
        return this.updateTime;
    }

    public String getPageName()
    {
        return this.pageName;
    }

    public Integer getPageStatus()
    {
        return this.pageStatus;
    }

    public Integer getCreateId()
    {
        return this.createId;
    }

    public Integer getUpdateId()
    {
        return this.updateId;
    }
}
